package com.lej.dataservice.club.bean.privilege

/**
$act_arr =[
'qiaoqiaohua',//悄悄话
'zhaoyaojing',//照妖镜
'ceyanzhi',//测颜值
'siliao',//私聊
'star',//星标位
];*/
data class PreGoldConsumeBean(
    val act: String,
    val available_stars: String?,
    /**积分余额*/
    val balance_gold: String,
    val before_gold: String,
    /**该事件使用需要的积分*/
    val event_gold: Int,
    val content: String,
    val desc: String,
    /**会员权益可用次数*/
    val svip_available_times: Int,
    /**会员权益已用次数*/
    val svip_used_times: Int
) {
    ///需要积分
    fun needCoupons() = before_gold.toInt() - balance_gold.toInt()

    ///有vip剩余可用次数
    fun hasVipRemindTimes() = svip_available_times - svip_used_times > 0
}
